package com.fengyi.homefurnish.service.impl;

import com.fengyi.homefurnish.mapper.ProAttrTypeMapper;
import com.fengyi.homefurnish.pojo.ProAttrType;
import com.fengyi.homefurnish.service.ProAttrTypeService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
@Transactional
public class ProAttrTypeServiceImpl implements ProAttrTypeService {

    @Resource
    private ProAttrTypeMapper proAttrTypeMapper;

    @Override
    public List<ProAttrType> getAllAttrType() {
        return proAttrTypeMapper.getAllAttrType();
    }
}
